(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <proto/exec.h>
void Switch()
LOCATION
In SysBase at offset 9
FUNCTION
Switch to the next task which wishes to be run. This function has a similar effect to calling Dispatch(), however it may be called at any time, and will not lose the current task if it is of type TS_RUN.
INPUTS
RESULT
NOTES
This function will preserve all its registers.
EXAMPLE
BUGS
SEE ALSO
Dispatch()
,
Reschedule()
INTERNALS
If you want to have this function save all its registers, you should replace this function in $(KERNEL) or $(ARCH).
HISTORY
07.08.1997 digulla
Fixed typo
05.08.1997 iaint
Kernel Changes - These are mostly functions which are normally implemented by the kernel, but might not be.